<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>TongXin-管理首页</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css" />
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/index.css" />
        <script type="text/javascript" src="__PUBLIC__/js/jquery/jquery-1.3.2.min.js"></script>
        <script type="text/javascript" src="__PUBLIC__/js/jquery/ui/ui.core.js"></script>

        <script type="text/javascript" src="__PUBLIC__/js/nav.js"></script>
        <base target="xshop_main"/>
    </head>
    
    <body>
        <div class="header">
            <h6><img src="__PUBLIC__/images/lock.png">&nbsp;欢迎您：<span>{$_G['UserInfo']['username']}</span></h6>
            <h1><a href="__URL__" target="_self">童心协力-家校通</a></h1>
        </div><!-- header end -->

        <div class="container">
        	<!-- 顶部导航 -->  
            <div class="menu">
                <ul class="right topnav">
                	<li class="remind"><a class="remind_a" href="javaScript:void(0)">提醒(<em class="red" id="memorandum_count">0</em>)</a>
                	<div class="remind_box">
                		<h3>提醒信息</h3>
						<p></p>
						<input type="hidden" id="memorandum_id" name="memorandum_id" value="" />
						<div><em><a onclick="finishMemorandum();" class="ok" style="cursor:pointer">知道了</a></em></div>
                	</div> </li>
                    <li><a href="__TONGXIN_URL__Login/Index/Index/logout">登出系统</a> </li>
                </ul>
                
<!-- menu begin -->
                <ul class="left topnav" id="top_menu">
                    <li id="Index">
                        <a href="{:U('Index-Home/index')}">开始</a>
                        <ul class="subnav">
                            <li><a href="{:U('Index-Home/index')}">个人桌面</a></li>
                            <li><a href="{:U('Index-Unmobile/index')}">电话白名单</a></li>
                            <li><a href="{:U('Index-Director/index')}">园长工具栏</a></li>
                        </ul>
                    </li>
                    <li id="School">
                        <a href="{:U('School-Index/index')}">校园管理</a>
                        <ul class="subnav">
                            <li><a href="{:U('School-Index/index')}">基础信息</a></li>
                            <li><a href="{:U('School-Grade/index')}">年级管理</a></li>
                            <li><a href="{:U('School-Class/index')}">班级管理</a></li>
                            <li><a href="{:U('School-Student/index')}">学生管理</a></li>
                            <li><a href="{:U('School-Worktime/index')}">教师考勤</a></li>
                            <li><a href="{:U('School-Studenttime/index')}">学生考勤</a></li>
                            <li><a href="{:U('School-Video/index')}">视频管理</a></li>
                        </ul>
                    </li>
                    <li id="Sms">
                        <a href="{:U('Sms-Index/index')}">短信平台</a>
                        <ul class="subnav">
                            <li><a href="{:U('Sms-Index/index')}">短信列表</a></li> 
                        </ul>
                    </li>
                    <li id="System">
                        <a href="{:U('System-Index/index')}">人员管理</a>
                        <ul class="subnav">
                            <li><a href="{:U('System-Index/index')}">园长教师管理</a></li>
                            <li><a href="{:U('System-Group/index')}">员工权限设置</a></li>
                            <li><a href="{:U('System-Branch/index')}">员工职位设置</a></li>
                            <!-- li><a href="{:U('System-Setting/index')}">基本信息设置</a></li-->
                            <!--li style="position:relative;">
                            	<a href="javascript:void(0);" class="parent">权限设置</a>
                                <ul class="grandson">
                                    <li><a href="{:U('System-Index/index')}">用户用户</a></li>
		                            <li><a href="{:U('System-Index/group')}">权限设置</a></li>
                                </ul>
                            </li-->
                        </ul>
                    </li>
                    <li id="Personal">
                        <a href="{:U('Personal-Index/index')}">个人设置</a>
                        <ul class="subnav">
                            <li><a href="{:U('Personal-Index/index')}">个人设置</a></li>
                            <!-- li><a href="{:U('Personal-Password/index')}">密码设置</a></li-->
                        </ul>
                    </li>
                    
                </ul>
            </div>

<!-- menu end -->


            <div class="breadcrumb"> 
                <span id="nav_first">开始</span> > <span id="nav_second"></span> > <span id="xshop_main_title_nav">个人桌面</span>
            </div><!-- breadcrumb end -->
			
            <div class="content">
            	
            	<!-- 左侧导航-->
                <div class="leftmunu">
                    <div class="heading">
                    <b class="left"></b>
                    <b class="right"></b>
                        <h2 id="leftMenuTitle">开始</h2>
                    </div>
                    <ul class="munu" id="leftMenuBody">
                    	<li><a href="{:U('Index-Home/index')}">个人桌面</a></li>
                    	<li><a href="{:U('Index-Unmobile/index')}">电话白名单</a></li>
                    	<li><a href="{:U('Index-Director/index')}">园长工具栏</a></li>
					</ul>
                </div><!-- leftmunu end-->
				
				<!-- 文体内容-->
                <div class="main">
                    
                    <div class="heading">
                    <b class="left"></b>
                    <b class="right"></b>
                        <h2 id="xshop_main_title">个人桌面</h2>
                        <h3 class="buttons">
                        	<a><span style="display:none;" id="button_add">新增</span></a>
                        	<a><span style="display:none;" id="button_del">删除</span></a>
                        	<a><span style="display:none;" id="button_edit">编辑</span></a>
                        	<a><span style="display:none;" id="button_save">保存</span></a>
                        	<a><span style="display:none;" id="button_update">更新</span></a>
                        	<a><span style="display:none;" id="button_change">修改</span></a>
                        	<a><span style="display:none;" id="button_confirm">确认</span></a>
                        	<a><span style="display:none;" id="button_sendsms">发送短信</span></a>
                        	<a><span style="display:none;" id="button_import">导入</span></a>
                        	<a><span style="display:none;" id="button_output">导出未审核</span></a>
                        	<a><span style="display:none;" id="button_back">返回</span></a>
                        </h3>
                    </div>
                    <div class="main-con">
                        <iframe src="{:U('Index-Home/index')}" name="xshop_main" id="xshop_main_id" frameborder=0 height="100%" width=100% style="min-height:400px;_height:300px;">
                        </iframe>
                    </div>
                </div><!-- main end-->
				
            </div>
        </div><!-- container end -->
		
<script type="text/javascript">
$(document).ready(function(){
	//alert($("#xshop_main_id").height() + '-' + document.body.scrollHeight);
	var link_str = '';
	$(".menu a").each(function(i,item){
		if($(this).attr('href') != '#' && $(this).attr('href') != 'javascript:void(0)' && $(this).attr('href') != 'javascript:void(0);') {
			link_str += $(this).attr('href') + '|:|' + $(this).text() + '|!|';
		}
	});
	$.post("__URL__/flashMenu",{data:link_str},function(){
	})
});
function setIframeHeight(height) {
	$("#xshop_main_id").height(height)
}

var sms_get_time = 60000;
function updateLogin() {
	$.getJSON("__URL__/updateLogin",
		function(data){
		});
}
window.setInterval(updateLogin,sms_get_time); 


</script>
        <div class="footer" style="height:50px;">
            <a href="http://tongxin.6baby.com">tongxin</a>
            &copy; 2010-2012 All Rights Reserved. 
            <br/>
            Version 2.0
        </div><!-- footer end -->
		

    </body>
	<script type="text/javascript">
		$(document).ready(function(){
			$(".leftmunu").click(function(){
				setTimeout("if (document.documentElement.clientHeight < document.documentElement.scrollHeight) {xshop_main.window.show(); }",1000);
				}); 
			$(".remind>a").toggle(
			function(){
				$(this).parent(".remind").attr("style"," background:#ffffff;color: #333333; border:#666 solid; border-width:1px 1px 0 1px; padding:0 18px;");
				$(this).parent(".remind").find(".remind_box").show();
				$(this).attr("style","color:#333333;");
			},
			function(){
				$(this).parent(".remind").attr("style","");
				$(this).parent(".remind").find(".remind_box").hide();
				$(this).attr("style","");
			}
			);
			$(".ok").click(function(){
				$(this).parents(".remind").attr("style","");
				$(this).parents(".remind").find(".remind_box").hide();
				$(".remind>a").attr("style","");
			});
			})
			
			
	</script>
</html>
